package com.example.demo.entity.mybatisplus;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

@TableName("tb_sys_role")
public class TbSysRole extends Model<TbSysRole>{
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.ASSIGN_UUID)
	private String role_id;
	
	private String role_name;
	
	private Integer role_level;
	
	private String role_data_limit;
	
	private String role_code;

	public String getRole_code() {
		return role_code;
	}

	public void setRole_code(String role_code) {
		this.role_code = role_code;
	}

	public String getRole_id() {
		return role_id;
	}

	public void setRole_id(String role_id) {
		this.role_id = role_id;
	}

	public String getRole_name() {
		return role_name;
	}

	public void setRole_name(String role_name) {
		this.role_name = role_name;
	}

	public Integer getRole_level() {
		return role_level;
	}

	public void setRole_level(Integer role_level) {
		this.role_level = role_level;
	}

	public String getRole_data_limit() {
		return role_data_limit;
	}

	public void setRole_data_limit(String role_data_limit) {
		this.role_data_limit = role_data_limit;
	}

	@Override
	public Serializable pkVal() {
		// TODO Auto-generated method stub
		return this.role_id;
	}

}
